"""qq923 URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/2.2/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""

from django.urls import path
from .views import *
urlpatterns = [
    #注册
    path('ce/',Ce.as_view()),
    #登录
    path('deng/',Deng.as_view()),
    #图片验证码
    path('tu/<str:uuid>/',Tu.as_view()),
    #短信验证码
    path('duan/<str:mobile>/',Duan.as_view()),
    #分类
    path('fen/',Lei.as_view()),
    #类型
    path('xing/',Xing.as_view()),
#展示用户信息
    path('zhan/',Zhan.as_view()),
    #头像
    path('to/',To.as_view()),
    #修改
    path('gai/<str:id>/',Gai.as_view()),
    #展示收藏
    path('cang/',Cang.as_view()),
    # 修改收藏
    path('ga/<str:id>/', Ga.as_view()),
    #修改头像
    path('xiang/<str:id>/',Xiang.as_view()),
    #上传图片
    path('shang/',Shang.as_view())
]
